tailnum year type manufacturer
Length:3322 Min. :1956 Length:3322 Length:3322
Class :character 1st Qu.:1997 Class :character Class :character
Mode :character Median :2001 Mode :character Mode :character
Mean :2000
3rd Qu.:2005
Max. :2013
NA's :70
model engines seats speed
Length:3322 Min. :1.000 Min. : 2.0 Min. : 90.0
Class :character 1st Qu.:2.000 1st Qu.:140.0 1st Qu.:107.5
Mode :character Median :2.000 Median :149.0 Median :162.0
Mean :1.995 Mean :154.3 Mean :236.8
3rd Qu.:2.000 3rd Qu.:182.0 3rd Qu.:432.0
Max. :4.000 Max. :450.0 Max. :432.0
NA's :3299
engine
Length:3322
Class :character
Mode :character
head(planes)
# A tibble: 6 × 9
tailnum year type manuf…¹ model engines seats speed engine
<chr> <int> <chr> <chr> <chr> <int> <int> <int> <chr>
1 N10156 2004 Fixed wing multi engine EMBRAER EMB-… 2 55 NA Turbo…
2 N102UW 1998 Fixed wing multi engine AIRBUS… A320… 2 182 NA Turbo…
3 N103US 1999 Fixed wing multi engine AIRBUS… A320… 2 182 NA Turbo…
4 N104UW 1999 Fixed wing multi engine AIRBUS… A320… 2 182 NA Turbo…
5 N10575 2002 Fixed wing multi engine EMBRAER EMB-… 2 55 NA Turbo…
6 N105UW 1999 Fixed wing multi engine AIRBUS… A320… 2 182 NA Turbo…
# … with abbreviated variable name ¹manufacturer
tail(planes)
# A tibble: 6 × 9
tailnum year type manuf…¹ model engines seats speed engine
<chr> <int> <chr> <chr> <chr> <int> <int> <int> <chr>
1 N996DL 1991 Fixed wing multi engine MCDONN… MD-88 2 142 NA Turbo…
2 N997AT 2002 Fixed wing multi engine BOEING 717-… 2 100 NA Turbo…
3 N997DL 1992 Fixed wing multi engine MCDONN… MD-88 2 142 NA Turbo…
4 N998AT 2002 Fixed wing multi engine BOEING 717-… 2 100 NA Turbo…
5 N998DL 1992 Fixed wing multi engine MCDONN… MD-88 2 142 NA Turbo…
6 N999DN 1992 Fixed wing multi engine MCDONN… MD-88 2 142 NA Turbo…
# … with abbreviated variable name ¹manufacturer
4 Planes numbers by year
planes_by_year <-group_by(planes,year) g <-summarise (planes_by_year,count =length(year))